package com.wanmait.movie.service.impl;

import com.wanmait.movie.service.CommonService;
import org.springframework.cache.annotation.CacheEvict;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

@Service
@Transactional(rollbackFor = Exception.class)
public class CommonServiceImpl implements CommonService {
    @Override
    @CacheEvict(value = "commonCache",allEntries = true)
    public void clearCache() {

    }
}
